class_name  FirePit
extends Sprite2D

signal light

@onready var point_light : PointLight2D = %PointLight2D


func _ready() -> void:
	point_light.enabled = true
	light.connect(enable.bind())




func enable(value=true) -> void:
	point_light.enabled = value
